package com.lightkits.wms.database.dao;

import com.lightkits.wms.database.model.PoReceivedHistoryModel;
import com.lightkits.wms.database.model.PurLineModel;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author lanmi.xin@gmail.com
 * Created on 2019-04-25
 */
@Mapper
public interface WmsScmPoLineMapper {
    List<PurLineModel> getPoLineListById(
            @Param("poId")String poId,
            @Param("poLineId")String poLineId
    );

    List<PurLineModel> getPoLineRecordByLineId(
            @Param("poLineId")String poLineId
    );

    PoReceivedHistoryModel getCompletedByParams(
            @Param("poLineId")String poLineId,
            @Param("ticketLineId")String ticketLineId,
            @Param("languageCode")String languageCode
    );

}